package metier;

/***********************************************************************
 * Module:  Autres.java
 * Author:  p1104123
 * Purpose: Defines the Class Autres
 ***********************************************************************/

import java.util.*;

/** @pdOid 466402ff-bc64-4b22-9dfb-2d07f7d99aff */
public class Autres extends VIP {
   /** @pdOid 74bc28b7-a3bb-4471-9fb6-5fb72a24589c */
   private String metier;

    public Autres(String nom, String prenom,String nationalite, int coefAttrait, String compagnon, int accreditation, String metier) {
        super(nom, prenom,nationalite, coefAttrait, compagnon, accreditation);
        this.metier = metier;
    }
    
    public Autres(int numero, String nom, String prenom,String nationalite, int coefAttrait, String compagnon, int accreditation, String metier) {
        super(numero, nom, prenom,nationalite, coefAttrait, compagnon, accreditation);
        this.metier = metier;
    }

    public Autres(String metier) {
        this.metier = metier;
    }
    
    public Autres() {}

    public String getMetier() {
        return metier;
    }

    public void setMetier(String metier) {
        this.metier = metier;
    }

    @Override
    public String toString() {
        return super.toString() + "Autres{" + "metier=" + metier + '}';
    }

}